package com.itheima.domain.db.cms;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 专题商品关系表
 * @TableName cms_subject_product_relation
 */
@TableName(value ="cms_subject_product_relation")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CmsSubjectProductRelation implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long subjectId;

    /**
     * 
     */
    private Long productId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}